<?php
/**
 * Core_Controller_Mailsender
 * mail sender controller
 * @author Adrian Stolarski
 */
class Core_Controller_Mailsender implements Core_Controller_Mainable {
    
    /**
     *
     * @var type $mail_sender
     * mail sender obcject
     */
    public $mail_sender;
    /**
     * main()
     * send email
     * @param array $variables
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        $this->mail_sender = new Core_Model_Mailsender;
        $this->mail_sender->main($variables);
    }

}
